← Back
Editing: reg_alloc_006.phpt
--TEST-- Register Alloction 006: Incorrect type store elimination --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.file_update_protection=0 opcache.jit_buffer_size=1M --FILE-- <?php function foo() { $a = 0; for($i=0; $i < 6; $i++) { $y - $b = $a ? $b : $y; $a = $b = 7; } } foo() ?> DONE --EXPECTF-- Warning: Undefined variable $y in %sreg_alloc_006.php on line 5 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5 DONE
Save File
Cancel